package com.xiaowan.user.controller;

import com.xiaowan.user.service.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/user")
public class UserController {

    @Resource
    private UserService userService;

    @RequestMapping("test")
    public String test(){
        System.out.println("配置成功");
        userService.testMapperXmlQuery();
        return "success";
    }


}
